package com.yh.correct.service;

import java.util.List;
import java.util.Map;

import com.yh.correct.model.Page;
import com.yh.correct.model.Report;

/**
 * 服刑人员思想汇报
 *
 * @author Administrator
 */
public interface IReportService {
    /**
     * 增加服刑人员思想汇报信息
     * @param report
     * @return
     * @throws Exception
     */
    int addReport(Report report) throws Exception;

    /**
     * 删除服刑人员思想汇报信息
     * @param id
     * @return
     * @throws Exception
     */
    int delReport(int id) throws Exception;

    /**
     * 批量删除思想汇报信息测试
     * @param list
     * @return
     * @throws Exception
     */
    int deleteBatch(List<Integer> list) throws Exception;

    /**
     * 修改服刑人员思想汇报信息
     * @param report
     * @return
     * @throws Exception
     */
    int editReport(Report report) throws Exception;

    /**
     * 根据id查询单个思想汇报信息
     * @param id
     * @return
     * @throws Exception
     */
    Map<String, Object> getIdReport(int id) throws Exception;

    /**
     * 模糊查询思想汇报信息
     * @param Report
     * @return
     * @throws Exception
     */
    Page getListReport(Map<String, Object> Report) throws Exception;

    /**
     * 查询所有服刑人员思想汇报
     * @return
     * @throws Exception
     */
    List<Map<String, Object>> getAllReport() throws Exception;
}
